<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>v-html 内置指令</title>
</head>
<body>
<div id="app" class="app">
    <div v-text="info"></div>
    <div v-html="info"></div>
</div>

<script type="module">
    import {createApp} from "../../../js/vue.esm-browser.js";

    let app = createApp(
        {
            setup() {
                let info = "<h1>Hello, World!</h1>";
                return {
                    info,
                }
            }
        }
    );
    app.mount("#app")


</script>

</body>
</html>